﻿@model System.Collections.Generic.IEnumerable<contos.ViewModel.EnrollmentGroup>
@{
    ViewBag.Title = "About";
}
<link href="~/Content/newStyle.css" rel="stylesheet" />
<hgroup class="title">
    <h1>@ViewBag.Title.</h1>
    <h2>@ViewBag.Message</h2>
</hgroup>

<table class="gridtable" >
    <caption>统计结果 </caption>
    <tr>
        <th>注册时间 </th>
        <th>学生人数 </th>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>@item.EnrollmentDate</td>
            <td>@item.StudentCount</td>
        </tr>
  
    }
</table>

<aside>
    <h3>Aside Title</h3>
    <p>
        Use this area to provide additional information.
    </p>
    <ul>
        <li>@Html.ActionLink("Home", "Index", "Home")</li>
        <li>@Html.ActionLink("About", "About", "Home")</li>
        <li>@Html.ActionLink("Contact", "Contact", "Home")</li>
    </ul>
</aside>